if statement in razor using and :

79

if statement in razor using "?" and ":" -

  <option value="S" @(strAttributeFixType == "S" ? "selected" : "")>S</option>

Comments

Submit
0 Comments